package cn.itsource.hrm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
//标记是客户端
@EnableEurekaClient
//扫描mapper包
@MapperScan("cn.itsource.hrm.mapper")
//使用feign
@EnableFeignClients
public class SystemApp {
    public static void main(String[] args) {
        SpringApplication.run(SystemApp.class);
    }
}
